import os
import time
from flask import Flask, render_template, make_response, request

base_dir = os.path.dirname(os.path.abspath(__file__))
template_dir = os.path.join(base_dir, 'statics')
app = Flask(__name__, template_folder=template_dir)

# 添加首页路由
@app.route('/')
def index():
    return render_template('index.html')
